import request from '@/utils/request'

// 游客新增反馈
export function addGuestFeedback(data) {
  return request({
    url: '/contactSys/feedback/public/add',
    method: 'post',
    data: data
  })
}

// 游客更新
export function updateGuestFeedback(data) {
  return request({
    url: '/contactSys/feedback/public/update',
    method: 'put',
    data: data
  })
}

// 游客删除
export function deleteGuestFeedback(id) {
  return request({
    url: '/contactSys/feedback/public/delete/' + id,
    method: 'delete'
  })
}

// 游客列表
export function getGuestFeedbackList() {
  return request({
    url: '/contactSys/feedback/public/list',
    method: 'get'
  })
}
